<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ include file="../common/inc/tld.jsp"%>
<jsp:include page="../common/inc/header.jsp">
    <jsp:param name="title" value="商品管理-商品列表"/>
</jsp:include>
<a href="${ctx}/admin/goods/doAdd.action">新增</a><br/>
<table border="1">
    <tr>
        <th>用户名</th>
        <th>所属组</th>
        <th>操作</th>
    </tr>
    <s:iterator value="page.items">
    <tr>
        <td><s:property value="username"/></td>
        <td><s:property value="roles"/></td>
        <td><s:property value="originalPoint"/></td>
        <td><s:property value="nowPoint"/></td>
        <td><s:property value="published"/></td>
        <td>更新</td>
        <td>删除</td>
        <td><a href="${ctx}/admin/goodsCode/list.action?goodsId=<s:property value='id'/>">查看兑换码</a></td>
    </tr>    
    </s:iterator>
</table>
<my:page url="${ctx}/admin/goods/list.action" version="v2"/>
<jsp:include page="../common/inc/footer.jsp"/>